﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
namespace Engine.Scene
{
    public class BSVO
    {
        BoundingBox m_Bbox;
        BSVO[] m_Childs;
        BSVO m_Parent;
        public BSVO(BSVO Parent)
        {
            m_Parent = Parent;
        }
        public void CheckViseble(BoundingFrustum BF)
        {
           float? dist= BF.Intersects(new Ray(m_Bbox.Min,Vector3.Normalize((m_Bbox.Max-m_Bbox.Min))));

           
        }
    }
}
